﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpaceGame
{
    class Bullet : MovingObject, ICollidable
    {
        public Bullet(Position topLeft, char[,] image, int speed, Position dir)
            : base(topLeft, image, speed, dir)
        {

        }

        public void CollisionResponse(ICollidable instance)
        {
            this.IsDestroyed = true;
        }
    }
}
